<!--
 * @Description: html中使用css
 * @Author: charles
 * @Date: 2021-08-10 14:05:31
 * @LastEditors: charles
 * @LastEditTime: 2021-08-10 14:14:50
-->
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>html使用css</title>
  <style>
    #one, #two{
      background-color:lightcoral; 
      color: #fff; 
      width: 300px;
      margin-bottom: 1em;
    }
  </style>
</head>
<body>
  <div id="one"> hello world </div>
  <div id="two"> 你好，世界</div>
</body>
</html>